package com.stottlerhenke.simbionic.editor.parser;

import com.stottlerhenke.simbionic.api.SB_Exception;
import com.stottlerhenke.simbionic.api.SB_VarType;


public abstract class SB_ConstantNode extends SB_ParseNode {
  public SB_ConstantNode(SB_VarType type) {
    super(type);
  }
  public SB_ErrorNode GetNextError(SB_ErrorNode lastError) { return null;}
  public boolean ContainsVariable(String varName) { return false; }
  public boolean ContainsFunction(String funcName) { return false; }
  public double GetNumericValue() throws SB_Exception { throw new SB_Exception("Illegal value type."); }
  public String GetStringValue() throws SB_Exception{ throw new SB_Exception("Illegal value type."); }
  public  mini_vec GetVectorValue() throws SB_Exception{ throw new SB_Exception("Illegal value type."); }
}